<table cellspacing="[VAR=cs]" cellpadding="[VAR=cp]" class="nc">
    <form method="post" action="admin.php">
    <input type="hidden" name="action" value="user_man" />
    <IFadv=$user_man=="edit"><input type="hidden" name="user_man" value="do_edit" /><else>
    <input type="hidden" name="user_man" value="create_user" /></IFadv>
    <input type="hidden" name="ncs" value="$ncs" />
    <IF=$user_man=="edit"><input type="hidden" name="u_id" value="$_GET[u_id]" /></IF>
    <tr>
        <th class="nc" colspan="2">
            {if($user_man=="edit")}[LANG=admin_user_edit_user_title]{else}[LANG=admin_user_create_user_title]{/if}
        </th>
    </tr>
    <tr>
        <td class="nc_he">
            [LANG=admin_user_uname]
        </td>
        <td class="nc">
            <input type="text" name="user_name" value="$v_uname" />
        </td>
    </tr>
    <tr>
        <td class="nc_he">
            [LANG=admin_user_email]
        </td>
        <td class="nc">
            <input type="text" name="user_email" value="$v_email" />
        </td>
    </tr>
    <tr>
        <td class="nc_he">
            [LANG=admin_user_man_perm_name]
        </td>
        <td class="nc">
            $perm_input
        </td>
    </tr>
    <tr>
        <td class="nc_he">
            [LANG=admin_user_pw]
        </td>
        <td class="nc">
            <input type="password" name="user_pw" />
        </td>
    </tr>
    <tr>
        <td class="nc_he">
            [LANG=admin_user_pw_conf]
        </td>
        <td class="nc">
            <input type="password" name="user_pw_conf" />
        </td>
    </tr>
    <tr>
        <td class="nc_he">
            [LANG=admin_user_random_pw]
        </td>
        <td class="nc">
            <input type="checkbox" name="user_random_pw" value="1" $random_pw_checked />
        </td>
    </tr>
    <tr>
        <td class="nc" align="center" colspan="2">
            {if($user_man=="edit")}<input type="submit" value="[LANG=admin_user_edit_user]" />{else}
            <input type="submit" value="[LANG=admin_user_create_user]" />{/if}
        </td>
    </tr>
    </form>
</table>